home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 16864 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  756 b 

  1. Path: morse.ukonline.co.uk!usenet
  2. From: andy.walsh@ukonline.co.uk
  3. Newsgroups: comp.lang.c++
  4. Subject: Callback Functions In C++
  5. Date: 9 Apr 1996 14:16:30 GMT
  6. Organization: UK Online
  7. Message-ID: <4kdrfu$kiu@morse.ukonline.co.uk>
  8. NNTP-Posting-Host: wwwproxy.ukonline.co.uk
  9.  
  10. Can anyone tell me how I could code a callback function that works
  11. inside a class and that I can pass the address of to the waveInOpen
  12. function.  It would seem that a member function carries an extra
  13. 'this' pointer and so cannot be addressed the same as an ordinary
  14. function.  Any ideas?  I also tried to use Borland's response table
  15. to handle the messages but it will only respond to a 'SendMessage'
  16. command and not to my low level audio commands.
  17.  
  18. Many thanks in advance
  19.  
  20. Andy Walsh
  21.